home *** CD-ROM | disk | FTP | other *** search
/ PC Media 3 / PC MEDIA CD03.iso / share / udos / dos5tch / rendir.doc < prev    next >
Encoding:
Text File  |  1991-11-21  |  1.5 KB  |  44 lines

  1. RENDIR
  2.  
  3. (Rename Directory)                                     John Dickinson
  4. Command                                       PC Magazine Vol 5, No 7
  5.  
  6. Copyright 1986 Ziff-Davis Publishing Company
  7.  
  8. Purpose:  Permits renaming subdirectories directly,without creating a 
  9. new directory, moving the contents of the old one into it, and then 
  10. removing the old directory.
  11.  
  12.  
  13. SYNTAX        RENDIR [d:] [path] dirname1 dirname2
  14.  
  15. dirname1  Name of the subdirectory to rename
  16. dirname2  New name for the subdirectory
  17.  
  18.  
  19. DESCRIPTION
  20.  
  21. RENDIR renames subdirectories just like REN renames files. RENDIR    will 
  22. not rename the root directory, and in DOS 5.0, it won't let you rename 
  23. the current directory. However, some versions of DOS (RENDIR will run 
  24. under any version from 3.0 on) will let you rename the current 
  25. directory.  If this happens, or if you rename a directory that lies in 
  26. the path to the current directory, DOS may tell you  that one or more 
  27. subdirectories are invalid. To correct the error, CD to the root 
  28. directory of the drive, then back to the current directory. The source 
  29. code for RENDIR is available on ZiffNet.
  30.  
  31. EXAMPLES
  32.  
  33. To rename the subdirectory WP to WPERFECT, type
  34.  
  35. RENDIR WP WPERFECT
  36.  
  37. To rename \WP\DOC to WP\WPFILES, type
  38.  
  39. RENDIR \WP\DOC WPFILES
  40.  
  41. ** Special Note:  This utility is also a mentioned in the Ziff-Davis Press
  42. book "PC Magazine's DOS 5 Techniques and Utilities" by Jeff Prosise. Both
  43. this DOCumentation file and in the book's utility reference stand as correct.
  44.